home *** CD-ROM | disk | FTP | other *** search
- module oTextPlugin is cPlugin
- has
- release Editor:
- GetIO()
- do
- result := oIOTextPlugin;
- end;
- end;
- end;
-
- release Editor:
-
- object oIOTextLabel is "Text";
-
- object oIOTextPlugin is cIOPlugin
- with
- AboutDialog is cUIAboutPluginDialog
- with
- HelpURL is "Modules/Text.htm";
- Label is oIOTextLabel;
- Text is "Field and Text elements, event and commands.";
- end;
- MenuItems is [
- cIOArgumentInMenuItem with Name is "Hot Text"; Value is oHotTextArgumentIn; end,
-
- cIOAttributeGetterMenuItem with Name is "Alignment"; Value is oAlignmentAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Antialias"; Value is oAntialiasedAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Background %"; Value is oBackgroundOpAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Background Blue"; Value is oBackgroundBlueAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Background Green"; Value is oBackgroundGreenAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Background Red"; Value is oBackgroundRedAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Bold"; Value is oBoldAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Mode"; Value is oTextModeAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Font Name"; Value is oFontNameAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Font Size"; Value is oFontSizeAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Italic"; Value is oItalicAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Kerning"; Value is oKerningAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Margin Bottom"; Value is oBottomMarginAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Margin Left"; Value is oLeftMarginAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Margin Right"; Value is oRightMarginAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Margin Top"; Value is oTopMarginAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Scale X"; Value is oScaleWidthAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Scale Y"; Value is oScaleHeightAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Selection %"; Value is oSelectionOpAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Selection Blue"; Value is oSelectionBlueAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Selection Green"; Value is oSelectionGreenAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Selection Red"; Value is oSelectionRedAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Spacing"; Value is oSpacingAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Text"; Value is oTextAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Text Blue"; Value is oFontBlueAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Text Green"; Value is oFontGreenAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Text Red"; Value is oFontRedAttributeGetter; end,
- cIOAttributeGetterMenuItem with Name is "Underline"; Value is oUnderlineAttributeGetter; end,
-
- cIOAttributeSetterMenuItem with Name is "Alignment"; Value is oAlignmentAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Antialias"; Value is oAntialiasedAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Background %"; Value is oBackgroundOpAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Background Blue"; Value is oBackgroundBlueAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Background Green"; Value is oBackgroundGreenAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Background Red"; Value is oBackgroundRedAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Bold"; Value is oBoldAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Mode"; Value is oTextModeAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Font Name"; Value is oFontNameAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Font Size"; Value is oFontSizeAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Italic"; Value is oItalicAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Kerning"; Value is oKerningAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Margin Bottom"; Value is oBottomMarginAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Margin Left"; Value is oLeftMarginAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Margin Right"; Value is oRightMarginAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Margin Top"; Value is oTopMarginAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Scale X"; Value is oScaleWidthAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Scale Y"; Value is oScaleHeightAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Selection %"; Value is oSelectionOpAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Selection Blue"; Value is oSelectionBlueAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Selection Green"; Value is oSelectionGreenAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Selection Red"; Value is oSelectionRedAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Spacing"; Value is oSpacingAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Text"; Value is oTextAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Text Blue"; Value is oFontBlueAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Text Green"; Value is oFontGreenAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Text Red"; Value is oFontRedAttributeSetter; end,
- cIOAttributeSetterMenuItem with Name is "Underline"; Value is oUnderlineAttributeSetter; end,
-
- cIOValueTypeMenuItem
- with
- Name is "Alignment";
- Value is cAlignment;
- Word is cIOMenuButton
- with
- Field is Value;
- TextArray is ["Center", "Flush Left", "Flush Right", "Justify"];
- ValueArray is [oCenterAlignment, oFlushLeftAlignment, oFlushRightAlignment, oJustifyAlignment];
- Width is 10;
- end;
- end,
- cIOValueTypeMenuItem
- with
- Name is "Mode";
- Value is cTextMode;
- Word is cIOMenuButton
- with
- Field is Value;
- TextArray is [ "Editable", "Selectable", "Label" ];
- ValueArray is [ oTextModeEditable, oTextModeSelectable, oTextModeStatic ];
- Width is 10;
- end;
- end
- ];
- ToolLines is [
- cIOToolListLine
- with
- Expanded is true;
- Label is oIOCreateLabel;
- Lines is [
- cIOToolLine
- with
- Label is "Field";
- Words is [
- oFieldCreator
- ];
- end
- ];
- end
- ];
- ElementLines is [
- cIOSeedListLine
- with
- Label is oIOModelLabel;
- Lines is [
- cIOSeedLine with IO is oIOField; end,
- cIOSeedLine with IO is oIORTFText; end
- ];
- end
- ];
- EventLines is [
- cIOSeedListLine
- with
- Label is oIOModelLabel;
- Lines is [
- cIOSeedLine with IO is oIOHotTextEvent; end
- ];
- end
- ];
- CommandLines is [
- cIOSeedListLine
- with
- Label is oIOModelLabel;
- Lines is [
- cIOSeedLine with IO is oIOFieldCommand; end,
- cIOSeedLine with IO is oIORTFTextCommand; end
- ];
- end
- ];
- Openers is [
- oRTFTextOpener
- ];
- end;
-
- end;
-